* Supplement Table S3

*----------------------------------------------
* DYADIC DATA
*----------------------------------------------
use dyads.dta, clear

* number of other ties (besides lending and borrowing)
gen multiple_ties = social+religious+kinship+getgoods+givegoods+giveadvice+getadvice+medical+govisit+comevisit 

gen other_ties = 0 
replace other_ties = 1 if multiple_ties>0
label variable other_ties "Leader has other (non-financial) ties to contact"

* Panel A: Summary statistics for the leader-contact dyads with just the leader-level attributes
sum mf_uptake lend savings_leader shg_leader caste_leader other_ties mult_leaders

dtable mf_uptake lend lend_outdegree savings_leader shg_leader caste_leader other_ties mult_leaders if mult_leaders!=., export(Table-S3-Panel-A.xlsx) 

* Panel B: Summary statistics for the smaller sample of leader-contact dyads that also includes contact-level attributes
sum mf_uptake lend savings_leader shg_leader caste_leader savings_contact shg_contact caste_contact other_ties mult_leaders

dtable mf_uptake lend lend_outdegree savings_leader shg_leader caste_leader savings_contact shg_contact caste_contact other_ties mult_leaders if caste_contact!=., export(Table-S3-Panel-B.xlsx) replace
